<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@include file="template/adminHeader.jsp"%>
<center>
	<p>
		<b>page de la mise à jour d'un compte</b>
	</p>
</center>
<form:form method="POST" commandName="fetchedUser">
	<form:errors path="*" cssClass="errorblock" element="div" />
	<table cellspacing="15">
		<tr>
			<td>Nom:</td>
			<td><form:input path="familyName" /></td>
		</tr>
		<tr>
			<td>Prénom :</td>
			<td><form:input path="name"></form:input></td>
		</tr>
		<tr>
			<td>Login :</td>
			<td><form:input path="login"></form:input></td>
		</tr>
		<tr>
			<td>Mot de passe :</td>
			<td><form:input path="password1"></form:input></td>
		</tr>
		<tr>
			<td>Email :</td>
			<td><form:input path="email"></form:input></td>
		</tr>
		<tr>
			<td>Téléphone:</td>
			<td><form:input path="tel"></form:input></td>
		</tr>
		<tr>
			<td>Département:</td>
			<td><form:select path="dept" >
			<form:option value="NONE">Département</form:option>
			<form:options items="${deptList}"></form:options>
			</form:select></td>
		</tr>
		<tr>
			<td colspan="3"><br /> <input type="submit"
				class="common_b blue" /></td>
		</tr>
	</table>
</form:form>
<%@include file="template/footer.jsp"%>